Google Analytics
Holds configurations for the current analytics management plugin (Google Analytics)
accountName
– {string}
–
The accountName property required by Google Analytics
domainName
– {string}
–
The domainName property required by Google Analytics
module.exports = function(grunt) { // Project configuration. grunt.initConfig({ pkg: grunt.file.readJSON('package.json'), docular: { // other options ommitted for simplicity analytics: { account: 'UA-40646426-1', domainName: 'grunt-docular.com' } } }); // Load the plugin that provides the "docular" tasks. grunt.loadNpmTasks('grunt-docular'); // Default task(s). grunt.registerTask('default', ['docular']); };
If you do not provide analytic configurations, then the analytic calls will not be made.
Currently, there are two separate calls made during navigation within the webapp.